package org.jeecg.trace.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 序列号记录
 * @Author: LiCY
 * @Date:   2023-06-18
 * @Version: V1.0
 */
@Data
@TableName("mes_unitid")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mes_unitid对象", description="序列号记录")
public class MesUnitid implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
	@Excel(name = "主键ID", width = 15)
    @ApiModelProperty(value = "主键ID")
    @TableId
    private Integer recId;
	/**产线或产线组*/
	@Excel(name = "产线或产线组", width = 15)
    @ApiModelProperty(value = "产线或产线组")
    private String line;
	/**工位*/
	@Excel(name = "工位", width = 15)
    @ApiModelProperty(value = "工位")
    private String op;
	/**主序列号*/
	@Excel(name = "主序列号", width = 15)
    @ApiModelProperty(value = "主序列号")
    private String unitsn;
	/**从序列号值*/
	@Excel(name = "从序列号值", width = 15)
    @ApiModelProperty(value = "从序列号值")
    private String idValue;
	/**从序列号名称*/
	@Excel(name = "从序列号名称", width = 15)
    @ApiModelProperty(value = "从序列号名称")
    private String idName;
	/**时间*/
	@Excel(name = "时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "时间")
    private Date usedt;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private String status;
	/**零件号*/
	@Excel(name = "零件号", width = 15)
    @ApiModelProperty(value = "零件号")
    private String itempartno;
	/**段落编号*/
	@Excel(name = "段落编号", width = 15)
    @ApiModelProperty(value = "段落编号")
    private String segmentCode;
	/**运行时间ID*/
	@Excel(name = "运行时间ID", width = 15)
    @ApiModelProperty(value = "运行时间ID")
    private BigDecimal runtimeid;
	/**运行周期ID*/
	@Excel(name = "运行周期ID", width = 15)
    @ApiModelProperty(value = "运行周期ID")
    private BigDecimal cycleid;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date ctime;
}
